projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
565b35a
)
shortcutswindow: working version of set_section_name()
author
Alan Jenkins
<alan.christopher.jenkins@gmail.com>
Fri, 14 Oct 2016 11:16:07 +0000
(12:16 +0100)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 14 Oct 2016 14:57:32 +0000
(10:57 -0400)
(testing before+after, it actually works now)
https://bugzilla.gnome.org/show_bug.cgi?id=772926
gtk/gtkshortcutswindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkshortcutswindow.c
b/gtk/gtkshortcutswindow.c
index 1b7ab72d67e107381f8e4a0f3b4aa79593f4a12a..36f55f6e86087b606a83ca11e4a3f059b1f1e36a 100644
(file)
--- a/
gtk/gtkshortcutswindow.c
+++ b/
gtk/gtkshortcutswindow.c
@@
-444,7
+444,7
@@
gtk_shortcuts_window_set_section_name (GtkShortcutsWindow *self,
g_free (priv->initial_section);
priv->initial_section = g_strdup (section_name);
- if (
!
section_name)
+ if (section_name)
section = gtk_stack_get_child_by_name (priv->stack, section_name);
if (section)
gtk_stack_set_visible_child (priv->stack, section);